package com.karina.visualization.chart.component;

import java.util.List;

import com.karina.visualization.chart.model.CapacityModel;
import com.karina.visualization.chart.skins.ChartPaneSkin;
import com.karina.visualization.chart.skins.ChartPaneSkinImpl;

public class CapacityChartWidget extends
		ChartWidgetBase<CapacityModel, List<String>> {

	public CapacityChartWidget(ChartBase<CapacityModel, List<String>> chart) {
		super(chart);
		setDataDescriptor(new DefaultValueDataDescriptor());
	}

	@Override
	protected CapacityModel createChartModel(List<List<String>> dataProvider) {
		return new CapacityModel(dataProvider);
	}

	@Override
	public ChartPaneSkin<CapacityModel> getSkin() {
		return new ChartPaneSkinImpl();
	}

}
